﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using KDS.Mes.Mes.Styles;

namespace KDS.Mes.Mes.Styles.Dtos
{
    /// <summary>
    /// 款式信息编辑用Dto
    /// </summary>
    [AutoMap(typeof(Style))]
    public class StyleEditDto 
    {

	/// <summary>
    ///   主键Id
    /// </summary>
    [DisplayName("主键Id")]
	public int? Id{get;set;}

        /// <summary>
        /// 所属车型
        /// </summary>
        [DisplayName("所属车型")]
        public   int  CartypeId { get; set; }

        /// <summary>
        /// 款式名称
        /// </summary>
        [DisplayName("款式名称")]
        [Required]
        [MaxLength(20)]
        public   string  StyleName { get; set; }

    }
}
